package com.cbs.database.test;

import android.app.Application;
import com.cbs.database.Database;
import com.cbs.database.SqliteDatabase;

/**
 * Created by brochexu on 10/28/14.
 */
public class MyApplication extends Application {
    public static Database database;

    @Override
    public void onCreate() {
        super.onCreate();
        database = new SqliteDatabase(this, "data.cache", 1)
                .setCreateResource(R.raw.dbcreate);
    }
}
